Skip to main content
POST
/
reports
/
runs
[beta] Create a custom report run
curl --request POST \
  --url https://api.samsara.com/reports/runs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reportConfig": {
    "columns": [
      {
        "fieldName": "Id"
      }
    ],
    "datasetId": "AssetReadings",
    "filters": {},
    "id": "4f71fd67-54f0-41de-991c-ee1e031134d1"
  }
}
'
{
  "data": {
    "createdAtTime": "2019-06-13T19:08:25Z",
    "id": "4f71fd67-54f0-41de-991c-ee1e031134d1",
    "status": "complete",
    "updatedAtTime": "2019-06-13T19:08:25Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://samsara-showcase.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Contains information required to trigger report run

reportConfig
object
required

Contains report config for a given report run.

Response

Accepted response.

data
object
required

Base custom report run response object.